$main: #FF4725;
$titleH1: #151515;
$titleH2: #151515;
$border: #EEEEEE;
$fz32: 32rpx;
$fz28: 28rpx;
$fz24: 24rpx;
$color15: #151515;
$colorf8: #f8f8f8;
$color66: #666666;
$color99: #999999;

/*文本格式化，超出范围，显示省略号*/
@mixin textOverflow($width: 100%, $display: block) {
  width: $width;
  display: $display;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*弹性盒子（传入null不设置该属性）*/
@mixin flexBox($direction: row, $justify: null, $align: null, $flex-wrap: null) {
  display: flex;

  @if ($direction !=null) {
    flex-direction: $direction;
  }

  @if ($justify !=null) {
    justify-content: $justify;
  }

  @if ($align !=null) {
    align-items: $align;
  }

  @if ($flex-wrap !=null) {
    flex-wrap: $flex-wrap;
  }
}